<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- react核心组件库 -->
    <script src="https://unpkg.com/react@17/umd/react.development.js"></script>
    <script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"></script>

    <!-- Don't use this in production: -->
    <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>

</head>
</head>

<body>
    <div id="root"></div>


    <!-- 此处一定要写babel -->
    <script type="text/babel">
        let VDOM =<h1>Hello, world!</h1>; 
        ReactDOM.render(VDOM, document.getElementById('root'));

    </script>
</body>

</html>